package com.BlogPark.pojo;

import lombok.Data;
import org.springframework.stereotype.Repository;

import java.util.Date;

/**
 * @Auther: 业峰
 * @Date: 2022/8/19 - 08 - 19 - 12:05
 * @version: 1.0
 */
@Data
@Repository
public class Feedback {
    private Integer id;
    private Integer userId;
    private String userName;
    private String feedback;
    private Date date;

    /**
     * 客户反馈信息
     * userId : 反馈的用户id
     * UserName ： 反馈的用户名称
     * feedback ： 反馈的具体内容
     * date ：反馈的时间
     */

    public Feedback() {
    }

    public Feedback(Integer id, Integer userId, String userName, String feedback, Date date) {
        this.id = id;
        this.userId = userId;
        this.userName = userName;
        this.feedback = feedback;
        this.date = date;
    }
}
